﻿@model IEnumerable<StockShark.Models.DictionaryEntry>

@{
    ViewBag.Title = "Słownik pojęć";
    ViewBag.Header = "Słownik pojęć";
}

<div id="letters">
@foreach (string letter in ViewBag.Letters)
{
    <span>@Html.ActionLink(letter, "Dictionary", new { letter = letter })</span>
}
</div>

@foreach (var item in Model)
{
    <h4>@item.Term</h4>
    <p>@item.Definition</p>
}